package com.smcdd.cdb.dbo.cdb_dbo.service.exception;


/**
 * Created by Jeremylee on 2017/6/5.
 */

public class HttpTimeException extends RuntimeException{

    public HttpTimeException(String message) {
        super(message);
    }

    public HttpTimeException(int code){
        this(getApiExceptionMessage(code));
    }

    private static String getApiExceptionMessage(int code) {
        switch (code) {
            default:
                return "other failed";
        }
    }
}
